package com.mcxx.modules.supervise.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@ApiModel
@Data
public class SuperviseLogEntity implements Serializable{

	private static final long serialVersionUID = 7914364344583447862L;

    @ApiModelProperty(value = "日志id")
	private String logid;

    @ApiModelProperty(value = "日志描述,用户操作涉及敏感信息时的以JSON格式保存操作内容")
    private String changecontent;

    @ApiModelProperty(value = "操作类型,1、查询 2、修改 3 删除 4、导出")
    private String optype;

    @ApiModelProperty(value = "模块名称,操作模块名称，存在多级模块以xxx-xxx-xxx形式保存")
    private String modulename;

    @ApiModelProperty(value = "操作人id")
    private String opuserId;

    @ApiModelProperty(value = "操作人账号")
    private String opuser;

    @ApiModelProperty(value = "操作人名称")
    private String opusername;

    @ApiModelProperty(value = "操作时间,时间类型格式：YYYY-MM-DD HH:MM:SS")
    private Date optime;

    @ApiModelProperty(value = "登录IP地址")
    private String clientip;

}
